Skip to content

Conversation

@tangrufus
Copy link
Contributor

@tangrufus tangrufus commented Sep 8, 2017

@dmchale
Copy link
Owner

dmchale commented Sep 9, 2017

Rejecting this one only due to personal preference of avoiding the one-liner as it was written here. For readability I kept the function call, and broke up the in_array() and checked() functions into their own lines. I also made sure to include the strict param in in_array(). Commit: 66e8cbb

@dmchale dmchale closed this Sep 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants